package StuSort;

public class Student {
	private int stuNo;
	private String name;
	private double score1;
	private double score2;
	private double score3;
	public Student(int stuNo,String name,double s1,double s2,double s3){
		this.stuNo=stuNo;
		this.name=name;
		score1=s1;
		score2=s2;
		score3=s3;
	}
	public double getAvg() {
		return (score1+score2+score3)/3;
	}
	public int getStuNo() {
		return stuNo;
	}	
	public String getName() {
		return name;
	}
}
